package cn.gl.org.domain;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.gl.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class Shop extends BaseDomain{
    //店铺名称
    @Excel(name="店铺名称",orderNum = "1",width = 30)
    private String name;
    //电话
    @Excel(name="店铺电话",orderNum = "2",width = 30)
    private String tel;
    //入驻时间
    @Excel(name="入驻时间",orderNum = "3",width =30,exportFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date registerTime = new Date();
    /**
     * 待审核0 审核通过1 驳回-1 待激活2
     */
    @Excel(name="店铺状态",orderNum = "4",width = 30)
    private Integer state;
    //店铺地址
    @Excel(name="店铺地址",orderNum = "5",width=30)
    private String address;
    //店铺log
    @Excel(name="店铺logo",orderNum = "6",width=30)
    private String logo;
    //管理员id
    private Long adminId;
    //连表查询员工表
    private Employee admin;

}
